package xuli.dao;

import entity.Order_Cart;

import java.util.List;

public interface ShoppingCartDao {

    boolean insert(Order_Cart orderCart);

    boolean update(Order_Cart orderCart);

    List<Order_Cart> findAll(Integer userId);

    Order_Cart findByUserIdAndProductIdAndModelId(Integer userId, Integer productId, Integer modelId);
}
